/*
 * @Description: 
 * @Version: 1.0
 * @Autor: ziwei
 * @Date: 2021-09-26 14:19:38
 * @LastEditors: ziwei
 * @LastEditTime: 2021-09-26 14:27:08
 */
import { inject } from "vue";
export const storeKey = 'store'
export function useStore(injectKey = null) {
  return inject(injectKey!=null?injectKey:storeKey)
}